<?php 
mysql_connect ("localhost","igor","igor");
mysql_select_db ("simple blog");


?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Создание нового поста</title>
<link href="style.css" rel="stylesheet" type="text/css" />

</head>

<body leftmargin="6" topmargin="6">
<table width="79" border="0" align="center" cellpadding="0" cellspacing="0" class="main_border">
  <tr>
    <td><a href='index.php'><img src="img/header-woman.jpg" width="960" height="200" /></a></td>
  </tr>
   <tr>
     <td valign="top" bgcolor="#B0C4DE"><div align="justify" >

     
<form action="add_post.php" method="post" name="form1" class="p" id="form1">
            <p>
              <label>Название<br />
                <input  type="text" name="title" id="title" />
                
              </label>
            </p>
            <p>
             
              
              
              <label>Введите полный текст поста<br />
                <textarea name="text" id="text" cols="40" rows="20"></textarea>
                 
              </label>
            </p>
            <p>
              <label>Введите автора <br />
            <input  type="text" name="author" id="author" />
             
              </label>
            </p>
            <p>
              <label>
                <input type="submit" name="submit" id="submit" value="Добавить пост" />
              </label>
            </p>
          </form>
     
       <blockquote>
         <blockquote>&nbsp;</blockquote>
     </blockquote></td>
  </tr>
  <tr>
    <td><img src="img/iuh.jpg" width="960" height="28" /></td>
  </tr>
</table>


</body>
</html>